# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg

# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

#test -s ~/.alias && . ~/.alias || true

alias mygdb64=/Calaveras/tools/64bit/tools/gdb64bit-6.4-linux
export PATH=$PATH:/opt/accurev/bin/:~/bin:/disks/USD_dumps1/AutoTriage/KittyHawk/bin:/Calaveras/tools/64bit/tools/
set bell-style none

ishibe >& /dev/null
if [ "$?" == 0 ]; then
    export PS1="\u@hibe-\h:\w>"
fi



function awsroot()
{
    accurev info | grep Top | awk '{print $2}'
}

function wsroot()
{
    git rev-parse --show-toplevel
}

alias cdws='cd `wsroot`'
alias cdsafe='cd `wsroot`/safe'
alias cdsade='cd `wsroot`/sade'
alias cdmlu='cd `wsroot`/safe/catmerge/layered/MLU'
alias cdufssim='cd `wsroot`/safe/catmerge/layered/MLU/test/MUT/ufs64/ufs64sim'
alias cdcbfssim='cd `wsroot`/sade/src/dart/Dart/server/src/cbfs/test'
alias cddart='cd `wsroot`/sade/src/dart/Dart/server/src'
alias cdfsck='cd `wsroot`/sade/src/dart/Dart/server/src/ods/newfsck64'
alias cdufs='cd `wsroot`/sade/src/dart/Dart/server/src/ods/ufs64'
alias cdx86='cd `wsroot`/sade/src/dart/Dart/server/x86_64.bin'
alias cdsmoke='cd `wsroot`/sade/src/dart/Dart/server/src/dvt/smoke_unit_test'
alias cdmlu='cd `wsroot`/safe/catmerge/layered/MLU'
alias cdfsdb='cd `wsroot`/sys-common/FS_Tools/fs_db64'
alias cddirsim='cd `wsroot`/sade/src/dart/Dart/server/src/dvt/dirSim'
alias cdcbfs='cd `wsroot`/sade/src/dart/Dart/server/src/cbfs/'
alias gitc='git log  --pretty="format:" --name-only -1'

#alias py3='/home/c4dev/python3/bin/python3'

#   ssh -fgnN -D 7788 c4dev@127.0.0.1

unset LANG
export CS_TOOLS=/disks/NSG_Root/CS_tools

